<?xml version="1.0"?>
<component name="org.nuxeo.apidoc.snapshot.SnapshotManagerComponent.override">

  <require>org.nuxeo.apidoc.snapshot.SnapshotManagerComponent</require>

  <documentation>
<p>
      This component handles the introspection of the current live Runtime as a distribution.
    </p>
<p>
      It can also persist this introspection as Nuxeo documents, to handle import and export of external distributions.
    </p>

  </documentation>
  <extension point="exporters" target="org.nuxeo.apidoc.snapshot.SnapshotManagerComponent">
    <exporter class="org.nuxeo.apidoc.export.graphs.plugins.JsonGraphExporter" id="jsonGraph">
      <title>Json Graph</title>
      <description>Json dependency graph</description>
      <filename>graph.json</filename>
      <mimetype>application/json</mimetype>
      <display>
        <on>home</on>
        <on>bundle</on>
        <on>package</on>
      </display>
    </exporter>
    <exporter class="org.nuxeo.apidoc.export.stats.JsonContributionStatsExporter" id="jsonContributionStats">
      <title>Json Contribution Stats</title>
      <description>Json statistics for contributions</description>
      <filename>contribution_stats.json</filename>
      <mimetype>application/json</mimetype>
      <display>
        <on>home</on>
        <on>bundle</on>
        <on>package</on>
        <on>chart</on>
      </display>
      <properties>
        <property name="scriptingCodeType">
          org.nuxeo.automation.scripting.internals.AutomationScriptingComponent--operation
        </property>
        <property name="javaCodeType">
          org.nuxeo.ecm.core.operation.OperationServiceComponent--operations,
          org.nuxeo.apidoc.snapshot.SnapshotManagerComponent--exporters
        </property>
      </properties>
    </exporter>
    <exporter class="org.nuxeo.apidoc.export.stats.CSVContributionStatsExporter" id="csvContributionStats">
      <title>CSV Contribution Stats</title>
      <description>CSV statistics for contributions</description>
      <filename>contribution_stats.csv</filename>
      <mimetype>text/csv</mimetype>
      <display>
        <on>home</on>
        <on>bundle</on>
        <on>package</on>
      </display>
      <properties>
        <property name="scriptingCodeType">
          org.nuxeo.automation.scripting.internals.AutomationScriptingComponent--operation
        </property>
        <property name="javaCodeType">
          org.nuxeo.ecm.core.operation.OperationServiceComponent--operations,
          org.nuxeo.apidoc.snapshot.SnapshotManagerComponent--exporters
        </property>
      </properties>
    </exporter>
    <exporter class="org.nuxeo.apidoc.export.graphs.plugins.DOTGraphExporter" id="dotGraph">
      <title>DOT Graph</title>
      <description>Dependency graph exported in DOT format</description>
      <filename>graph.dot</filename>
      <mimetype>application/octet-stream</mimetype>
      <display>
        <on>home</on>
      </display>
    </exporter>
  </extension>

</component>
